CareTeam System API - Implementation Template (US Core)
Custom object creation
CareTeam
To create a custom object in Health Cloud (CareTeam):
- From Health Cloud in the upper right corner, click the settings (gear) icon.
 - Click Setup.
 - From the Home tab in the left menu, expand 'Objects and Fields' and then click Object Manager.
 - In the upper right corner, click the Create dropdown and then select 'Custom Object'.
 - Set the following:
- Label: CareTeam
 - Plural Label: CareTeams
 - Object Name: HealthcareAccelerator_CareTeam
 - Description: Custom CareTeam object
 - Record Name: Name
 - Data Type: Text
 - Deployment Status: In Development (Recommended when setting up; set to Deployed when ready to use.)
 
 - Click Save.
 - In the 'Fields and Relationships' page, use the 'New' button and then create the following fields:
 
| Field Label | Field Name | Data Type | 
|---|---|---|
| SourceSystemId | SourceSystemId__c | Text(255) | 
| Status | Status__c | Text(255) | 
| CategoryCode | CategoryCode__c | Text(255) | 
| CategoryDisplay | CategoryDisplay__c | Text(255) | 
| CategorySystem | CategorySystem__c | Text(255) | 
| Name | Name | Text(80) | 
| Subject | Subject__c | Lookup(Account) | 
| Encounter | Encounter__c | Lookup(EHR Encounter) | 
| PeriodStart | PeriodStart__c | DateTime | 
| PeriodEnd | PeriodEnd__c | DateTime | 
| ParticipantRoleCode | ParticipantRoleCode__c | Text(255) | 
| ParticipantRoleDisplay | ParticipantRoleDisplay__c | Text(255) | 
| ParticipantRoleSystem | ParticipantRoleSystem__c | Text(255) | 
| ParticipantMember | ParticipantMember__c | Lookup(EHR Practitioner) | 
| ParticipantOnBehalfOf | ParticipantOnBehalfOf__c | Lookup(Account) | 
| ParticipantPeriodStart | ParticipantPeriodStart__c | DateTime | 
| ParticipantPeriodEnd | ParticipantPeriodEnd__c | DateTime | 
| ReasonCodeCode | ReasonCodeCode__c | Text(255) | 
| ReasonCodeDisplay | ReasonCodeDisplay__c | Text(255) | 
| ReasonCodeSystem | ReasonCodeSystem__c | Text(255) | 
| ReasonReference | ReasonReference__c | Lookup(EHR Condition) | 
| ManagingOrganization | ManagingOrganization__c | Lookup(Account) | 
| Telecom | Telecom__c | Lookup(ContactPoint) | 
| Note | Note__c | Long Text Area(32768) | 
ContactPoint
To create a custom object in Health Cloud (ContactPoint):
- From Health Cloud in the upper right corner, click the settings (gear) icon.
 - Click Setup.
 - From the Home tab in the left menu, expand 'Objects and Fields' and then click Object Manager.
 - In the upper right corner, click the Create dropdown and then select 'Custom Object'.
 - Set the following:
- Label: ContactPoint
 - Plural Label: ContactPoints
 - Object Name: HealthcareAccelerator_ContactPoint
 - Description: Details for many types of technology-mediated contact points for a person or organization, including telephone, email, and so on
 - Record Name: Contact Point Name
 - Data Type: Text
 - Deployment Status: In Development (Recommended when setting up; set to Deployed once ready to use.)
 
 - Click Save.
 - In the 'Fields and Relationships' page, use the 'New' button and then create the following fields:
 
| Field Label | Field Name | Data Type | 
|---|---|---|
| System | System__c | Text(255) | 
| Use | Use__c | Text(255) | 
| Value | Value__c | Text(255) | 
| Rank | Rank__c | Number | 
| PeriodStart | PeriodStart__c | DateTime | 
| PeriodEnd | PeriodEnd__c | DateTime |